package net.llz.facade;

public class MessageFacade implements ImessageManager{
    private ImessageManager wechatMsgManager = new WechatMessageManager();

    private ImessageManager smsMsgManager = new SmsMessageManager();

    private ImessageManager mailMsgManager = new MailMessageManager();

    private ImessageManager dingdingMsgManager = new DingDingMessageManager();


    @Override
    public void pushMessage() {
        wechatMsgManager.pushMessage();
        smsMsgManager.pushMessage();
        mailMsgManager.pushMessage();
        dingdingMsgManager.pushMessage();

    }
}
